import { http,tempHttp } from "./http.js";
// 新增工具函数来处理 webUserAddress
function addWebAddress(data = {}) {
  let address = "";
  let token = "";
  if (uni.getStorageSync("webAddress")) {
    address = uni.getStorageSync("webAddress");
  }
  if (uni.getStorageSync("token")) {
    token = uni.getStorageSync("token");
  }
  return Object.assign({}, data, { webUserAddress: address },{token:token});
}

// 模板 案例
export async function getSetting(data = {}) {
  return http.request({
    url: "setting/getSet",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function siteSetting(data = {}) {
  return http.request({
    url: "siteSetting/show",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function wxLogin(data) {
  return http.request({
    url: "wxUser/login",
    method: "POST",
    data: data
    // method: "GET",
    // params: data
  });
}
// 手机号码
export async function getPhoneNumber(data) {
  // let address=''
  // if(uni.getStorageSync('webAddress')){
  // 	address=uni.getStorageSync('webAddress')
  // }
  // data=Object.assign(data,{webUserAddress:address})

  return http.request({
    url: "wxUser/getPhone",
    method: "POST",
    data: { ...data }
  });
}
// 
export async function h5Login(data) {
	return http.request({
	  url: "user/accountLogin",
	  method: "POST",
	  data: { ...data }
	});
}
// 团建 接口
//  录播nav
export async function categoryIndex() {
  return http.request({
    url: "category/index",
    method: "GET"
  });
}
// 当季主推
export async function seasonMain() {
  return http.request({
    url: "product/seasonMain",
    method: "GET"
  });
}
// 团建热卖、内训热卖
export async function seasonMainHot(data,url) {
  return http.request({
    url: url,
    method: "GET",
    params: addWebAddress(data)
  });
}
// 年会热卖
export async function meetingHot(data) {
  return http.request({
    url: "meeting/party",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 场地优选
export async function placeChoice(data) {
  return http.request({
    url: "place/party",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 案例展示
export async function caseShow(data) {
  return http.request({
    url: "case/party",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 精彩视频
export async function videoShow(data) {
  return http.request({
    url: "video/party",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 新闻动态
export async function newsShow(data = {}) {
  return http.request({
    url: "news/party",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 新闻动态 新版
export async function newsShowList(data = {}) {
  return http.request({
    url: "news/getList",
    method: "GET",
    params: addWebAddress(data)
  });
}
//
// 年会列表
export async function annualMeeting(data) {
  return http.request({
    url: "meeting/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// placeList
// 场地列表
export async function placeList(data) {
  return http.request({
    url: "place/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// product
export async function getProduct(data) {
  return http.request({
    url: "product/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 内训
export async function gettraining(data) {
  return http.request({
    url: "training/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 青少年
export async function getyouth(data) {
  return http.request({
    url: "youth/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
//团建筛选
export async function productType(data) {
  return http.request({
    url: "productType/index",
    method: "GET",
    params: addWebAddress(data)
  });
}
//
// 案例列表
export async function productCase(data) {
  return http.request({
    url: "case/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 视频列表
export async function productVideo(data) {
  return http.request({
    url: "video/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 大页面
// 案例详情
export async function getCaseDetail(data) {
  return http.request({
    url: "case/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 年会详情
export async function getMeetDetail(data) {
  return http.request({
    url: "meeting/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 团建详情
export async function getTeamDetail(data) {
  return http.request({
    url: "product/show",
    method: "GET",
    params: addWebAddress(data)
  });
}

// 团建详情
export async function gettrainingDetail(data) {
  return http.request({
    url: "training/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 团建详情
export async function getyouthDetail(data) {
  return http.request({
    url: "youth/show",
    method: "GET",
    params: addWebAddress(data)
  });
}

// 场地详情
export async function getplaceDetail(data) {
  return http.request({
    url: "place/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 收藏 列表
export async function getCollection(data) {
  return http.request({
    url: "userCollect/myCollect",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 添加 收藏
export async function addCollection(data) {
  return http.request({
    url: "userCollect/collect",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 取消 收藏
export async function cancelCollection(data) {
  return http.request({
    url: "userCollect/collectDele",
    method: "POST",
    data: addWebAddress(data)
  });
}
//  收藏
export async function collectList(data) {
  return http.request({
    url: "userCollect/myCollect",
    method: "POST",
    data: addWebAddress(data)
  });
}

//  获取需求清单
export async function customItem(data) {
  return http.request({
    url: "custom/customItem",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 需求定制提交
export async function customSubmit(data) {
  return http.request({
    url: "custom/submits",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 手机验证码
export async function sendCode(data) {
  return http.request({
    url: "aliyunSms/sendSms",
    method: "POST",
    data: addWebAddress(data)
  });
}
export async function sendCodes(data) {
  return http.request({
    url: "aliyunSms/sendSms",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 获取需求列表
export async function customList(data) {
  return http.request({
    url: "custom/lists",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 取消回访
export async function cancelCustom(data) {
  return http.request({
    url: "custom/cancelCustom",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 修改密码
export async function editPassword(data) {
  return http.request({
    url: "user/editPassword",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 修改账户
export async function switchAccount(data) {
  return http.request({
    url: "user/switchAccount",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 用户反馈

export async function feedback(data) {
  return http.request({
    url: "feedback/add",
    method: "POST",
    data: addWebAddress(data)
  });
}

export async function productPlan(data) {
  return http.request({
    url: "product/plan",
    method: "POST",
    data: addWebAddress(data)
  });
}

export async function userShare(data) {
  return http.request({
    url: "userShare/getList",
    method: "POST",
    data: addWebAddress(data)
  });
}
export async function productShareUndo(data) {
  return http.request({
    url: "userShare/productShareUndo",
    method: "POST",
    data: addWebAddress(data)
  });
}

export async function aboutUs(data = {}) {
  return http.request({
    url: "about/index",
    method: "GET",
    data: addWebAddress(data)
  });
}

export async function productSharedata(data = {}) {
  return http.request({
    url: "userShare/productSharedata",
    method: "POST",
    data: addWebAddress(data)
  });
}

export async function getBanner(data) {
  return http.request({
    url: "banner/getList",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function getselection(data) { 
  return http.request({
    url: "selection/list",
    method: "GET",
    params: addWebAddress(data)
  });
}

// detailselection
export async function detailselection(data) { 
  return http.request({
    url: "selection/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// detailnews
export async function detailnews(data) { 
  return http.request({
    url: "news/show",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function dynamic(data) { 
  return http.request({
    url: "userDynamic/getList",
    method: "POST",
    params: addWebAddress(data)
  });
}
export async function getDynamicUserInfo(data) { 
  return http.request({
    url: "userDynamic/getDynamicUserInfo",
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function publish(data) { 
  return http.request({
    url: "userDynamic/publish",
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function userCollect(data) { 
  return http.request({
    // url: "userDynamicCollection/collect",
    url:'userDynamic/collect',
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function userDynamicComments(data) { 
  return http.request({
    url: "userDynamicComments/comment",
    method: "POST",
    params: addWebAddress(data)
  });
}
export async function CommentsList(data) { 
  return http.request({
    url: "userDynamicComments/getList",
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function getPoster(data) { 
  return http.request({
    url: "poster/getList",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function getPosterDetail(data) { 
  return http.request({
    url: "poster/show",
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function posterUse(data) { 
  return http.request({
    url: "posterUse/use",
    method: "POST",
    params: addWebAddress(data)
  });
}

export async function activityCategory() { 
  return http.request({
    url: "activityCategory/getList",
    method: "GET"
  });
}

export async function activitySetting() { 
  return http.request({
    url: "activitySetting/show",
    method: "GET"
  });
}

// 添加
export async function submitOrders(data) { 
  return http.request({
    url: "activityRelease/release",
    method: "POST",
    data: addWebAddress(data)
  });
}

// 活动列表
export async function activityList(data) { 
  return http.request({
    url: "activityRelease/getList",
    method: "GET",
    data: addWebAddress(data)
  });
}


// 注册  提交信息 

export async function phontRegister(data) { 
  return http.request({
    url: "user/phontRegister",
    method: "POST",
    data: addWebAddress(data)
  });
}

// 添加 收藏
export async function container(data) {
  return http.request({
    url: "selection/apiList",
    method: "GET",
    params: addWebAddress(data)
  });
}

// 添加 收藏
export async function isCollect(data) {
  return http.request({
    url: "userCollect/show",
    method: "POST",
    data: addWebAddress(data)
  });
}

// 添加 收藏
export async function showVideo(data) {  
  return http.request({
    url: "video/show",
    method: "GET",
    params: addWebAddress(data)
  });
}

// 添加 收藏
export async function addComent(data) { 
  return http.request({
    url: "comment/add",
    method: "POST",
    data: addWebAddress(data)
  });
}
export async function getTalk(data) { 
  return http.request({
    url: "comment/getList",
    method: "GET",
    params: addWebAddress(data)
  });
}

export async function collectUser(data) { 
  return http.request({
    url: "userDynamic/attention",
    method: "POST",
    data: addWebAddress(data)
  });
}
//用户注册接口
export async function register(data) { 
  return http.request({
    url: "user/submitRegister",
    method: "POST",
    data: addWebAddress(data)
  });
}
//忘记密码修改
export async function updatePassword(data) { 
  return http.request({
    url: "user/updatePassword",
    method: "POST",
    data: addWebAddress(data)
  });
}
//获取会员身份
export async function userIdentity(data) { 
  return http.request({
    url: "userIdentity/getList",
    method: "GET",
  });
}
//获取用户须知，用户协议
export async function userNotice(data) { 
  return http.request({
    url: "userNotice/getList",
    method: "GET",
  });
}
//注册或修改提交用户基本信息
export async function setUserInformation(data) { 
  return http.request({
    url: "user/setUserInformation",
    method: "POST",
    data: addWebAddress(data)
  });
}
//获取小程序设置 客服xinxi
export async function appletSetting(data) { 
  return http.request({
    url: "appletSetting/getList",
    method: "GET",
  });
}
//用户积分规则
export async function pointsSetting(data) { 
  return http.request({
    url: "pointsSetting/getList",
    method: "GET",
  });
}
//个人入驻 商户入驻
export async function userJoin(data) { 
  return http.request({
    url: "userJoin/settledIn",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动列表
export async function getActivityList(data) { 
  return http.request({
    url: "activity/getActivityList",
    method: "POST",
    data: addWebAddress(data)
  });
}
//获取活动详情
export async function getActivityDetail(data) { 
  return http.request({
    url: "activity/getActivityDetail",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动专区主办方列表
export async function getSponsorList(data) { 
  return http.request({
    url: "activitySponsor/getSponsorList",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动专区主办方提交与修改
export async function submitSponsor(data) { 
  return http.request({
    url: "activitySponsor/submitSponsor",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动信息提交
export async function submitActivity(data) { 
  return http.request({
    url: "activity/submitActivity",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动退款设置获取
export async function getActivitySetRefundList(data) { 
  return http.request({
    url: "activitySetRefund/getActivitySetRefundList",
    method: "GET",
    data: addWebAddress(data)
  });
}
//活动发布设置退款信息
export async function setRefund(data) { 
  return http.request({
    url: "activity/setRefund",
    method: "POST",
    data: addWebAddress(data)
  });
}
//获取票种列表
export async function getTicketTypeList(data) { 
  return http.request({
    url: "activityTicketType/getTicketTypeList",
    method: "GET",
    data: addWebAddress(data)
  });
}
//活动费用票种添加&修改
export async function setTicketType(data) { 
  return http.request({
    url: "activityTicketType/setTicketType",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动费用票种删除
export async function delTicketType(data) { 
  return http.request({
    url: "activityTicketType/del",
    method: "POST",
    data: addWebAddress(data)
  });
}
//活动报名获取自定义字段
export async function getActivitySetEnrollList(data) { 
  return http.request({
    url: "activitySetEnroll/getActivitySetEnrollList",
    method: "GET",
    data: addWebAddress(data)
  });
}
//活动费用报名设置
export async function setEnroll(data) { 
  return http.request({
    url: "activity/setEnroll",
    method: "POST",
    data: addWebAddress(data)
  });
}
//确认发布提交审核
export async function arraign(data) { 
  return http.request({
    url: "activity/arraign",
    method: "POST",
    data: addWebAddress(data)
  });
}
//获取动态用户手机号
export async function getUserDynamicPhone(data) { 
  return http.request({
    url: "userDynamic/getUserDynamicPhone",
    method: "POST",
    data: addWebAddress(data)
  });
}
//动态用户分享
export async function shareDynamic(data) { 
  return http.request({
    url: "userDynamic/share",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 获取订单列表（已支付）
export async function activityOrderList(data) { 
  return http.request({
    url: "activityOrder/activityOrderList",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 生成活动小程序码
export async function getQRCode(data) { 
  return http.request({
    url: "activity/getQRCode",
    method: "POST",
    data:data
  });
}
// 生成活动小程序码
export async function serUserCollect(data) { 
  return http.request({
    url: "activityCollect/serUserCollect",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 活动订单提交
export async function submitOrderActive(data) { 
  return http.request({
    url: "activityOrder/submitOrder",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 退款
export async function refund(data) { 
  return http.request({
    url: "activityOrder/refund",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 订单验票
export async function checkTicket(data) { 
  return http.request({
    url: "activityOrder/checkTicket",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 活动评论列表
export async function getCommentList(data) { 
  return http.request({
    url: "activityComment/getCommentList",
    method: "get",
    data:addWebAddress(data)
  });
}
// 发布评论
export async function commentTall(data) { 
  return http.request({
    url: "activityComment/comment",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 充值会员
export async function recharge(data) { 
  return http.request({
    url: "user_vip/recharge",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 用户收入与支出/消费
export async function consumption(data) { 
  return http.request({
    url: "revenueAndExpenditure/consumption",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 用户收入与支出/充值
export async function rechargeList(data) { 
  return http.request({
    url: "revenueAndExpenditure/recharge",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 获取提现设置
export async function basicSettings(data) { 
  return http.request({
    url: "userWithdrawal/basicSettings",
    method: "POST",
    data:addWebAddress(data)
  });
}
// 用户提现/提交申请
export async function applyFor(data) { 
  return http.request({
    url: "userWithdrawal/applyFor",
    method: "POST",
    data:addWebAddress(data)
  });
}
//提现历史
export async function withdrawalhistory(data) { 
  return http.request({
    url: "userWithdrawal/history",
    method: "POST",
    data:addWebAddress(data)
  });
}
//用户钱包
export async function wallet(data) { 
  return http.request({
    url: "revenueAndExpenditure/wallet",
    method: "POST",
    data:addWebAddress(data)
  });
}
//用户所有消费与支出(可开票)
export async function allConsumptionRecharge(data) { 
  return http.request({
    url: "revenueAndExpenditure/allConsumptionRecharge",
    method: "POST",
    data:addWebAddress(data)
  });
}
//开具发票申请
export async function invoicing(data) { 
  return http.request({
    url: "issueInvoice/invoicing",
    method: "POST",
    data:addWebAddress(data)
  });
}
//开票历史
export async function invoicingHistory(data) { 
  return http.request({
    url: "issueInvoice/invoicingHistory",
    method: "POST",
    data:addWebAddress(data)
  });
}
//开票详情
export async function invoicingDetail(data) { 
  return http.request({
    url: "issueInvoice/invoicingDetail",
    method: "POST",
    data:addWebAddress(data)
  });
}
//开票详情订单
export async function invoicingOrder(data) { 
  return http.request({
    url: "issueInvoiceOrder/invoicingOrder",
    method: "POST",
    data:addWebAddress(data)
  });
}
//用户积分消费情况
export async function runningAccount(data) { 
  return http.request({
    url: "userPoint/runningAccount",
    method: "POST",
    data:addWebAddress(data)
  });
}
//购物车添加
export async function addCard(data) { 
  return http.request({
    url: "cart/add",
    method: "POST",
    data:addWebAddress(data)
  });
}
//购物车列表
export async function cardList(data) { 
  return http.request({
    url: "cart/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
//购物车顶部分组数量
export async function listsGroup(data) { 
  return http.request({
    url: "cart/listsGroup",
    method: "GET",
    params: addWebAddress(data)
  });
}
//下单待提交页面数据
export async function submitOrder(data) { 
  return http.request({
    url: "cart/submitOrder",
    method: "GET",
    params: addWebAddress(data)
  });
}
//订单提交
export async function handleBuy(data) { 
  return http.request({
    url: "cart/buy",
    method: "POST",
    data: addWebAddress(data)
  });
}
//订单支付，（主订单）
export async function orderPay(data) { 
  return http.request({
    url: "cart/orderPay",
    method: "POST",
    data: addWebAddress(data)
  });
}
//子订单列表
export async function orderInfoList(data) { 
  return http.request({
    url: "cart/orderInfoList",
    method: "GET",
    params: addWebAddress(data)
  });
}
//主订单详情
export async function orderDetails(data) { 
  return http.request({
    url: "cart/orderDetails",
    method: "GET",
    params: addWebAddress(data)
  });
}
//子订单详情
export async function orderInfoDetails(data) { 
  return http.request({
    url: "cart/orderInfoDetails",
    method: "GET",
    params: addWebAddress(data)
  });
}
//订单取消（主订单ID）只有没有支付的才可以取消
export async function orderCancel(data) { 
  return http.request({
    url: "cart/orderCancel",
    method: "POST",
    data: addWebAddress(data)
  });
}
//订单使用（子订单）
export async function orderUse(data) { 
  return http.request({
    url: "cart/orderUse",
    method: "POST",
    data: addWebAddress(data)
  });
}
//方案分类列表（无限级）
export async function typeList(data) { 
  return http.request({
    url: "scheme/typeList",
    method: "GET",
    data: addWebAddress(data)
  });
}
//方案列表
export async function schemeLists(data) { 
  return http.request({
    url: "scheme/lists",
    method: "GET",
    data: addWebAddress(data)
  });
}
//专辑列表
export async function albumList(data) { 
  return http.request({
    url: "scheme/albumList",
    method: "GET",
    data: addWebAddress(data)
  });
}
//方案详情
export async function schemeDetail(data) { 
  return http.request({
    url: "scheme/info",
    method: "GET",
    data: addWebAddress(data)
  });
}
//专辑详情
export async function albumInfo(data) { 
  return http.request({
    url: "scheme/albumInfo",
    method: "GET",
    data: addWebAddress(data)
  });
}
//方案点赞
export async function schemeUp(data) { 
  return http.request({
    url: "scheme/up",
    method: "POST",
    data: addWebAddress(data)
  });
}
//购买方案添加订单
export async function addScheme(data) { 
  return http.request({
    url: "scheme/addScheme",
    method: "POST",
    data: addWebAddress(data)
  });
}
//购买专辑添加订单
export async function addAlbum(data) { 
  return http.request({
    url: "scheme/addAlbum",
    method: "POST",
    data: addWebAddress(data)
  });
}
//方案收藏
export async function schemeCollect(data) { 
  return http.request({
    url: "scheme/collect",
    method: "POST",
    data: addWebAddress(data)
  });
}
//专辑收藏
export async function albumCollect(data) { 
  return http.request({
    url: "scheme/albumCollect",
    method: "POST",
    data: addWebAddress(data)
  });
}
//方案拉起支付
export async function buyScheme(data) { 
  return http.request({
    url: "scheme/buyScheme",
    method: "POST",
    data: addWebAddress(data)
  });
}
//专辑拉起支付
export async function buyAlbum(data) { 
  return http.request({
    url: "scheme/buyAlbum",
    method: "POST",
    data: addWebAddress(data)
  });
}
//方案下载（只做统计，不会传输文件）
export async function schemeDownload(data) { 
  return http.request({
    url: "scheme/schemeDownload",
    method: "POST",
    data: addWebAddress(data)
  });
}
//我的方案顶部数量
export async function userTopNum(data) { 
  return http.request({
    url: "scheme/userTopNum",
    method: "GET",
    data: addWebAddress(data)
  });
}
//我的方案列表
export async function userScheme(data) { 
  return http.request({
    url: "scheme/userScheme",
    method: "GET",
    data: addWebAddress(data)
  });
}
// 用户类型接口
export async function userInfo(data) { 
  return http.request({
    url: "scheme/userInfo",
    method: "GET",
    data: addWebAddress(data)
  });
}
// 方案评价列表
export async function evaluateList(data) { 
  return http.request({
    url: "scheme/evaluateList",
    method: "GET",
    data: addWebAddress(data)
  });
}
// 方案新增评价
export async function evaluateAdd(data) { 
  return http.request({
    url: "scheme/evaluateAdd",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 提交策划师
export async function plannerAdd(data) { 
  return http.request({
    url: "scheme/plannerAdd",
    method: "POST",
    data: addWebAddress(data)
  });
}
// 策划师详情
export async function plannerInfo(data) { 
  return http.request({
    url: "scheme/plannerInfo",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 会议物料列表
export async function meetingSelectionList(data) { 
  return http.request({
    url: "meetingSelection/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 会议物料详情
export async function meetingSelectionDetail(data) { 
  return http.request({
    url: "meetingSelection/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 内训列表
export async function trainingSelectionList(data) { 
  return http.request({
    url: "trainingSelection/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 内训详情
export async function trainingSelectionDetail(data) { 
  return http.request({
    url: "trainingSelection/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 少年培训
export async function activityReleaseSelectionList(data) { 
  return http.request({
    url: "activityReleaseSelection/list",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 少年培训详情
export async function activityReleaseSelectionDetail(data) { 
  return http.request({
    url: "activityReleaseSelection/show",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 项目分享
export async function selectionShare(data) { 
  return http.request({
    url: "selection/share",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 会议分享
export async function meetingSelectionShare(data) { 
  return http.request({
    url: "meetingSelection/share",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 内训分享
export async function trainingSelectionShare(data) { 
  return http.request({
    url: "trainingSelection/share",
    method: "GET",
    params: addWebAddress(data)
  });
}
// 少年分享
export async function activityReleaseSelectionShare(data) { 
  return http.request({
    url: "activityReleaseSelection/share",
    method: "GET",
    params: addWebAddress(data)
  });
}




